﻿using System;
using SqlExecHelper;
using Wedonek.RpcStore.Service.Model;

namespace Wedonek.RpcStore.Service.DAL
{
        internal class RpcTraceLogDAL : SqlBasicClass
        {
                public RpcTraceLogDAL () : base ("RpcTraceList", "RpcExtendService")
                {

                }

                public RpcTraceLog[] Gets (string traceId)
                {
                        return base.Get<string, RpcTraceLog> ("TraceId", traceId);
                }
                public TraceLogDetailed Get (Guid id)
                {
                        return base.GetRow<Guid, TraceLogDetailed> ("Id", id);
                }
        }
}
